CMAKE_MINIMUM_REQUIRED(VERSION 3.22)
PROJECT(compiler_options)

ADD_COMPILE_DEFINITIONS(DEBUG_MODE)

GET_PROPERTY(defs DIRECTORY PROPERTY COMPILE_DEFINITIONS)
MESSAGE("Compile definitions: ${defs}")

ADD_EXECUTABLE(main main.cpp)